package com.wxz.gblw.cjg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wxz.gblw.cjg.common.base.BaseWxzEntity;
import lombok.Data;
import java.util.Date;

/**
* KnowledgeContent
* @author xiangzhong.wang
* @date 2020-01-31 16:20:59
*/
@Data
@TableName("cjg_knowledge_content")
public class KnowledgeContent extends BaseWxzEntity {

    /**
    * 图标代码
    */
    @TableField(value = "icon")
    private String icon;

    /**
    * 知识内容编号
    */
    @TableField(value = "code")
    private String code;

    /**
    * 知识内容标题
    */
    @TableField(value = "title")
    private String title;

    /**
    * 排序，从小到大
    */
    @TableField(value = "view_order")
    private Integer viewOrder;

    /**
    * 父知识内容id
    */
    @TableField(value = "fk_parent_knowledge_content_id")
    private Long parentKnowledgeContentId;

    /**
    * 知识Id
    */
    @TableField(value = "fk_knowledge_id")
    private Long knowledgeId;

    /**
    * 是否已经激活
    */
    @TableField(value = "is_active")
    private Boolean isActive;

    /**
    * 内容
    */
    @TableField(value = "content")
    private String content;

    /**
    * 备注
    */
    @TableField(value = "remark")
    private String remark;
}
